from pydantic import BaseModel
from typing import Union

class CommonRes(BaseModel):
    code: int
    message: str
    data: Union[str, None, dict, list] = None

class Token(BaseModel):
    access_token: str
    token_type: str